LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices

Reply
 
LinkBack Search this Thread
Old 10-13-2009, 06:43 AM   #1
g0hl1n
LQ Newbie
 
Registered: Oct 2009
Location: Salzburg, Austria
Distribution: Debian, CLFS
Posts: 3

Rep: Reputation: 0
[CLFS]


hello community,
today i've tried to build a clfs system for my arm (on a Overo Fire).
all worked well, until "5.12.1. Installation of GCC Cross Compiler"
the command
Code:
make AS_FOR_TARGET="${CLFS_TARGET}-as" LD_FOR_TARGET="${CLFS_TARGET}-ld"
produced following output:
Code:
checking build system type... i486-cross-linux-gnu
checking host system type... arm-unknown-linux-gnu
checking target system type... arm-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for arm-unknown-linux-gnu-strip... /mnt/clfs/cross-tools/arm-unknown-linux-gnu/bin/strip
checking for --enable-version-specific-runtime-libs... no
checking whether to enable maintainer-specific portions of Makefiles... no
checking for arm-unknown-linux-gnu-gcc... /mnt/clfs/sources/gcc-build/./gcc/xgcc -B/mnt/clfs/sources/gcc-build/./gcc/ -B/mnt/clfs/cross-tools/arm-unknown-linux-gnu/bin/ -B/mnt/clfs/cross-tools/arm-unknown-linux-gnu/lib/ -isystem /mnt/clfs/cross-tools/arm-unknown-linux-gnu/include -isystem /mnt/clfs/cross-tools/arm-unknown-linux-gnu/sys-include
checking for C compiler default output file name... configure: error: in `/mnt/clfs/sources/gcc-build/arm-unknown-linux-gnu/libmudflap':
configure: error: C compiler cannot create executables
See `config.log' for more details.
make[1]: *** [configure-target-libmudflap] Error 1
make[1]: Leaving directory `/mnt/clfs/sources/gcc-build'
make: *** [all] Error 2
the end of the config.log showed:

Code:
## ------------- ##
## Output files. ##
## ------------- ##

alphaieee_frag='/dev/null'
host_makefile_frag='../gcc-4.4.1/config/mh-x86omitfp'
ospace_frag='/dev/null'
serialization_dependencies='serdep.tmp'
target_makefile_frag='../gcc-4.4.1/config/mt-gnu'

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#endif
#ifdef __cplusplus
extern "C" void std::exit (int) throw (); using std::exit;

configure: exit 0
i have no plan why it isn't working.
the clfs root is on an internal ext3 partition with 1.5GB.

hope somebody can help.
i'm happy about every answer.

greez
g0hl1n
 
Old 10-14-2009, 04:01 PM   #2
ProtoformX
Member
 
Registered: Feb 2004
Location: Canada
Distribution: LFS SVN
Posts: 322

Rep: Reputation: 31
The only thing I can suggest is to delete the gcc_build and gcc source directory's and start from there, I have had this happened to me before and this cured it.
 
Old 10-19-2009, 03:04 AM   #3
g0hl1n
LQ Newbie
 
Registered: Oct 2009
Location: Salzburg, Austria
Distribution: Debian, CLFS
Posts: 3

Original Poster
Rep: Reputation: 0
Unhappy

hey.

Quote:
Originally Posted by ProtoformX View Post
The only thing I can suggest is to delete the gcc_build and gcc source directory's and start from there, I have had this happened to me before and this cured it.
so, i removed the gcc_build an gcc directory after the build failed.
then i extracted the archive again and tried building it one more time.
but the same error occurred

have i done it like you meant it?

greez
g0hl1n
 
Old 10-24-2009, 05:44 PM   #4
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware, Cross Linux from Scratch, Gentoo
Posts: 2,640
Blog Entries: 1

Rep: Reputation: 194Reputation: 194
Quote:
Originally Posted by g0hl1n View Post
the end of the config.log showed:
What does the portion of the config.log containing the error look like? Hint, it won't be at the end.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
cannot boot into my clfs sabil Linux From Scratch 0 04-16-2009 07:44 PM
chown clfs:clfs mishap Louis_Carole Linux From Scratch 4 03-21-2007 07:40 PM
clfs X setup silkenphoenixx Linux From Scratch 8 10-26-2006 12:40 PM
CLFS 1.0.0 Released mdh Linux From Scratch 1 09-30-2006 09:42 PM
CLFS Expect-5.43.0 caio53 Linux From Scratch 3 05-05-2006 07:16 AM


All times are GMT -5. The time now is 01:09 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration